public class Main {
	public static void main(String[] args) {
		int i;
		for(i='A';i<='C';i++)
		{
			int a=(i!='A')?1:0;
			int b=(i=='C')?1:0;
			int c=(i=='D')?1:0;
			int d=(i!='D')?1:0;
			if(a+b+c+d==3)
				break;	
		}
		switch(i)
		{
		case 'A':
			System.out.println("the man is A");
			break;
		case 'B':
			System.out.println("the man is B");
			break;
		case 'C':
			System.out.println("the man is C");
			break;
		case 'D':
			System.out.println("the man is D");
			break;
		}
	}
}